//
//  User.h
//  HWFinal
//
//  Created by student on 2021/12/2.
//  Copyright © 2021 demo. All rights reserved.
//

#ifndef User_h
#define User_h

#import <UIKit/UIKit.h>

@interface User : NSObject

@property(strong, nonatomic) NSString* u_id;
@property(strong, nonatomic) NSString* name;
@property(strong, nonatomic) NSString* password;
@property(strong, nonatomic) UIImage* head_img;
@property(strong, nonatomic) NSString* email;
@property(strong, nonatomic) NSString* phone;
@property(strong, nonatomic) NSString* hobby;
@property(strong, nonatomic) NSString* content;

-(User*)initWithID: (NSString*) u_id
           andName: (NSString*) name
       andPassword: (NSString*) password
           andHead: (UIImage*) head_img
          andEmail: (NSString*) email
          andphone: (NSString*) phone
          andHobby: (NSString*) hobby
        andContent: (NSString*) content;

-(User*)initWithID: (NSString*) u_id
           andName: (NSString*) name
           andHead: (UIImage*) head_img
          andEmail: (NSString*) email
          andphone: (NSString*) phone
          andHobby: (NSString*) hobby
        andContent: (NSString*) content;

@end

#endif /* User_h */
